package com.ctgu.server.dao.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@ApiModel(value = "ArticleVo", description = "")
@NoArgsConstructor
public class ArticleVo {
    @ApiModelProperty(value = "文章的唯一标识符（主键）")
    private String id;

    @ApiModelProperty(value = "文章标题")
    private String title;

//    @ApiModelProperty(value = "用户ID")
//    private String userId;

    @ApiModelProperty(value = "文章所属的类别或主题分类")
    private String category;

//    @ApiModelProperty(value = "文章的浏览次数")
//    private Integer views;
//
//    @ApiModelProperty(value = "文章收到的赞数")
//    private Integer likes;
//
//    @ApiModelProperty(value = "文章的评论数")
//    private Integer comments;

    @ApiModelProperty(value = "0 未发布   1正在发布")
    private Integer status;

//    @ApiModelProperty(value = "文章是否被推荐或置顶显示")
//    private Integer featured;

    @ApiModelProperty(value = "文章内容")
    private String content;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "用户信息")
    UserVo user;
}
